package models_main

import (
	"fmt"
	"longmen/server/pkg/db/mysql/models"
	"time"
)

type TopUser struct {
	Id                     int       `json:"id"`
	Uid                    int       `json:"uid"`
	UpdatedAt              time.Time `json:"updated_at"`
	Date                   time.Time `json:"date"`
	DayFansStat            int       `json:"day_fans_stat"`
	WeekFansStat           int       `json:"week_fans_stat"`
	MonthFansStat          int       `json:"month_fans_stat"`
	DayDiamondStat         int       `json:"day_diamond_stat"`
	WeekDiamondStat        int       `json:"week_diamond_stat"`
	MonthDiamondStat       int       `json:"month_diamond_stat"`
	ModifyDayFansStat      int       `json:"modify_day_fans_stat"`
	ModifyWeekFansStat     int       `json:"modify_week_fans_stat"`
	ModifyMonthFansStat    int       `json:"modify_month_fans_stat"`
	ModifyDayDiamondStat   int       `json:"modify_day_diamond_stat"`
	ModifyWeekDiamondStat  int       `json:"modify_week_diamond_stat"`
	ModifyMonthDiamondStat int       `json:"modify_month_diamond_stat"`
	WeekGuessStat          int       `json:"week_guess_stat"`
}

func (TopUser) TableName() string {
	return fmt.Sprintf("%stop_user", models.Prefix)
}
